Skip to content

PdfStandardRectangle Class

Definition

Namespace: Xfinium.Pdf.Graphics

Defines a rectangle in PDF coordinate system.

C#
public class PdfStandardRectangle : Object

Inheritance: Object → PdfStandardRectangle

Constructors

Name Description
PdfStandardRectangle() Initializes a new PdfStandardRectangle object.
PdfStandardRectangle(Double,Double,Double,Double) Initializes a new PdfStandardRectangle object.
PdfStandardRectangle(PdfPoint,PdfPoint) Initializes a new PdfStandardRectangle object.
PdfStandardRectangle(PdfStandardRectangle) Initializes a new PdfStandardRectangle object.

Properties

Name Description
Height Gets or sets the rectangle height.
LL Gets the position of lower-left corner.
LLX Gets the lower-left x coordinate.
LLY Gets the lower-left y coordinate.
UR Gets the position of upper-right corner.
URX Gets the upper-right x coordinate.
URY Gets the upper-right y coordinate.
Width Gets or sets the rectangle width.

Methods

Name Description
Intersect Computes the intersection of 2 rectangles.
IsPointInRectangle Tests if the given point is located inside the rectangle.
ToString Returns a String that represents the current Object.